package god.model;

public class SubjectVO {
	private int subjectNum;
	private String subjectName;
	private String subjectSummary;
	private int professorNum;
	
	public SubjectVO( int subjectNum, String subjectName, String subjectSummary, int professor) {
		this.subjectNum = subjectNum;
		this.subjectName = subjectName;
		this.subjectSummary = subjectSummary;
		this.professorNum = professor;
	}
	
	public void setSubjectNum( int subjectNum ) { this.subjectNum = subjectNum; }
	public void setSubjectName( String subjectName ) { this.subjectName = subjectName; }
	public void setSubjectSummary( String subjectSummary ) { this.subjectSummary = subjectSummary; }
	public void setProfessor(int professorNum) { this.professorNum = professorNum; }
	
	public int getSubjectNum( ) { return subjectNum; }
	public String getSubjectName() { return subjectName; }
	public String getSubjectSummary() { return subjectSummary; }
	public int getProfessorNum() { 	return professorNum; }
	
	@Override
	public String toString() {
		String result = "";
		result += subjectNum + "/" + subjectName + "/" + subjectSummary + "/" + professorNum;
		return result;
	}
}
